package com.digdes.calendar.model.impl;

import com.digdes.calendar.gwt.client.dto.FileDTOImpl;
import com.digdes.calendar.model.File;
import com.digdes.calendar.model.Event;

public class FileImpl implements File {
    private Long id;
    private String filepath;
    private Event event;

    public FileImpl() {

    }

    public FileImpl(FileDTOImpl filedto) {
        this.id = filedto.getId();
        this.filepath = filedto.getFilepath();
    }

    public Event getEvent() {
        return event;
    }

    public void setEvent(Event event) {
        this.event = event;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getFilepath() {
        return filepath;
    }

    public void setFilepath(String filepath) {
        this.filepath = filepath;
    }

}
